package blog

import (
	"github.com/astaxie/beego"
)

type LogoutController struct {
	beego.Controller
}

// @router /logout [get]
func (this *LogoutController) Get() {
	this.DelSession("user")
	this.Redirect("/", 302)
}
